<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>商品类型的属性管理</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
	<div class="menu_list">
					<ul>
						<li>
							<a href="{|U:'GoodsType/index',array('gtid'=>$_GET['gtid'])}">
								商品类型
							</a>
						</li>
						<li>
							<a href="{|U:'add',array('gtid'=>$_GET['gtid'])}">
								添加属性
							</a>
						</li>
					</ul>
				</div>
	<table class="table2">
		<thead>
			<tr>
				<td>AC_ID</td>
				<td>属性名</td>
				<td>规格</td>
				<td>GT_ID(类型ID)</td>
				<td class="w100">操作</td>
			</tr>
		</thead>
		<list from="$data" name="d">
		<tr>
				<td>{$d.acid}</td>
				<td>{$d.attr_name}</td>
				<td>
					<if value="$d.is_spec eq 1">
						<font color="red">是</font>
					<else>
						否
					</if>
				</td> 
				<td>{$d.gtid}</td> 
				<td>
					<a href="{|U:'edit',array('acid'=>$d['acid'],'gtid'=>$_GET['gtid'])}">编辑</a> |
					<a href="javascript:if(confirm('确实要删除吗?'))location='{|U:'delete',array('acid'=>$d['acid'])}'">删除</a>
					
				</td>
		</tr>
		</list>
	</table>
	</div>
</body>
</html>